Repository navigation
Drag to compare sample photos on the homepage - #37
Merged
Merged
Conversation
The landing before/after pairs now use the same split as the editor, in English and Spanish. The person-removal still stays on the tool pages and is left off the home showcase. Co-authored-by: Joan Comadran <joancomadran@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The English and Spanish homepages replace the static side-by-side before/after stills with a draggable split. Visitors can move the handle with a pointer or the arrow keys. The line, round grip, and before/after labels follow the editor preview.
The person-removal example is no longer on the home showcase. It still appears on
/tools/remove-objects-from-photosand/es/herramientas/borrar-objetos-foto, and the still files stay inpublic/site/results/.The remaining pairs are the develop export (full width), background removal, and the 2× upscale (side by side from 860px). The carousel stays a filmstrip under them. Page titles, meta descriptions, the no-upload lines, and the
/gearand/es/equipolinks are unchanged.Test plan
npm test(44 passing)npm run build(astro checkand the static build)/and/es: drag the handle, focus it and use the arrow keys, check 390px and desktop